<!doctype html>
<html class="no-js">

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="description" content="">
	<meta name="keywords" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>我的</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<meta name="mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-title" content="Amaze UI" />
	<meta name="msapplication-TileColor" content="#0e90d2">
	<link rel="stylesheet" href="assets/css/amazeui.min.css">
	<link rel="stylesheet" href="assets/css/app.css">
	<link rel="stylesheet" href="css/app.css" />
	<style>
		#clipArea {
			margin: 20px;
			height: 300px;
		}

		#file,
		#clipBtn {
			margin: 10px;
		}

		#view {
			margin: 0 auto;
			width: 200px;
			height: 200px;
		}

		#aaa {
			display: none;
			position: fixed;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			margin: auto;
			background: rgba(0, 0, 0, 0.5);
			z-index: 9998;
		}

		#ddd {
			display: none;
			width: 260px;
			height: auto;
			background: #fff;
			position: fixed;
			top: 35%;
			left: 0;
			right: 0;
			margin: auto;
			border-radius: 15px;
			z-index: 9999;
		}

		.qx_btn,
		.bd_btn {
			display: inline-block;
			line-height: 30px;
			font-size: 16px;
			width: 80px;
			border: 1px solid #ddd;
			text-align: center;
			background: #0165C7;
			color: #fff;
		}

		.contact_pop {
			width: 94%;
			height: auto;
			background: #fff;
			position: fixed;
			bottom: 5%;
			left: 0;
			right: 0;
			margin: auto;
			border-radius: 15px;
			z-index: 9999;
			overflow: hidden;
			display: none;
		}

		.contact_pop>p {
			display: flex;
			align-items: center;
			height: 4.5rem;
			line-height: 4.5rem;
			margin: 0;
		}

		.contact_pop>p:first-child {
			justify-content: center;
			color: #aaa;
		}

		.contact_pop>p:not(:last-of-type) {
			border-bottom: 1px solid #F5F5F5;
		}

		.contact_pop img {
			margin: 0 2rem;
		}

		.contact_pop a {
			color: #41A0F0;
		}

		/* 上传图片弹框 */

		.uploadPictures {
			width: 200px;
			height: 120px;
			background: white;
			position: absolute;
			z-index: 10000;
			top: 0;
			bottom: 0;
			left: 0;
			right: 0;
			margin: auto;
			display: none;
		}
	</style>
</head>

<body style="background: #eee;">
	<!-- 页面内容 开发时删除 -->
	<div id="" class="am-container">

		<div class="am-u am-cf gradien-bg">
			<div class="am-u-sm-12 am-text-center h50">
				<div style="color: #fff;">
					我的
				</div>
			</div>
			<div class="am-u-sm-12" style="padding-bottom:2rem;display:flex;align-items: center;">
				<div style="display: none;position:absolute;left:0;top:0;width:100%;height:100%;" id="tan"></div>
				<div class="am-u-sm-3" style="text-align: right;">
					<img src="img/port.png" onclick="javascript:imgc(this);" id="img_head" alt="" width="100%" style="cursor: pointer;height: 73px;width: 73px;display: inline-block;border-radius:50%;" />
				</div>
				<div class="am-u-sm-9" style="color:#fff;">
					<p style="margin:0;">您的账号：
						<span id="login_name"></span>
					</p>
					<p style="margin:0;">您的等级：
						<span id="level_name"></span>
					</p>
				</div>
			</div>
		</div>
		<div class="am-u">
			<div class="am-u-sm-12 ucen">
				<div style="margin: 10px;padding: 10px;border-radius: 20px;background: #fff;">
					<div class="am-u-sm-12 tab_apply">
						<a href="" class="am-u-sm-4 am-text-center cz">
							<img src="img/top-ups.png" width="50" />
							<p style="color:#999;margin-bottom: 0;margin-top: 6px;">充值</p>
						</a>
						<a onclick="tx_clic()" class="am-u-sm-4 am-text-center tx">
							<img src="img/Withdrawals.png" width="50" />
							<p style="color:#999;margin-bottom: 0;margin-top: 6px;">提现</p>
						</a>
						<a href="billingdetails.html" class="am-u-sm-4 am-text-center">
							<img src="img/Details.png" width="50" />
							<p style="color:#999;margin-bottom: 0;margin-top: 6px;">账单明细</p>
						</a>
					</div>
					<div class="am-u-sm-12">
						<ul class="am-list">
							<li class="h50 tab_apply" style="padding-left: 10px;">
								<!-- select1.html 银行卡管理 -->
								<a href="my_modify.html" style="padding:0">
									<img src="img/addr.png" height="30px" /> 收货地址
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
							<li class="h50 tab_apply" style="padding-left: 10px;">
								<!-- select1.html 银行卡管理 -->
								<a href="myDevice.html" style="padding:0">
									<img src="img/la.png" height="30px" /> 我的设备
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
							<li class="h50" style="padding-left: 10px;">
								<a href="Rname.html" style="padding:0">
									<img src="img/personal_ authentication@2x.png" style="height:30px;margin-right:.77rem;" /> 实名认证
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
							<li class="h50 tab_apply" style="padding-left: 10px;">
								<!-- select1.html 银行卡管理 -->
								<a href="select1.html" style="padding:0">
									<img src="img/tianjia1.png" height="30px" /> 银行卡管理
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
							<li class="h50" id="activity" style="padding-left: 10px;">
								<a href="get_activity.html" style="padding:0">
									<img src="img/acti.png" height="30px" />
									<span id="act_tit">活动</span>
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
							<li class="h50" style="padding-left: 10px;">
								<a id="rate" style="padding:0">
									<img src="img/rate_1.png" height="30px" /> 通道说明
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
							<li class="h50" style="padding-left: 10px;">
								<a id="Newbie" style="padding:0">
									<img src="img/hel.png" height="30px" /> 帮助中心
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
							<li class="h50" style="padding-left: 10px;">
								<a id="contact" style="padding:0">
									<img src="img/kefu_img.png" height="30px" /> 联系客服
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
							<li class="h50" style="padding-left: 10px;">
								<a id="About" style="padding:0">
									<img src="img/ab.png" height="30px" /> 关于我们
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
							<li class="h50" style="padding-left: 10px;">
								<a href="setting.html" style="padding:0">
									<img src="img/Set.png" height="30px" /> 设置中心
									<div class="am-fr" style="padding: 0 20px 0 0;">
										<img src="img/right.png" height="20px" />
									</div>
								</a>
							</li>
						</ul>
					</div>
					<div style="clear: both;"></div>
				</div>
			</div>
		</div>

		<div class="cle"></div>
		<footer>
			<ul class="am-topbar am-topbar-inverse am-topbar-fixed-bottom am-nav-justify" style="background: #fff;border-top: 0;padding: 0;">
				<li class="am-text-center">
					<a href="home.html">
						<img src="img/icon_home_normal.png" width="20px" />
						<p>米卡</p>
					</a>

				</li>
				<li class="am-text-center">
					<a href="javascript:;" id="global_buy">
						<img src="img/icon_receive_normal.png" width="20px" />
						<p>多米商城</p>
					</a>
				</li>
				<li class="am-text-center">
					<a href="sharing.html">
						<img src="img/icon_share_normal.png" width="20px" />
						<p>分享</p>
					</a>
				</li>
				<li class="am-text-center">
					<a href="eco_network.html">
						<img src="img/icon_shengtai_normal.png" width="20px" />
						<p>米卡信用</p>
					</a>
				</li>
				<li class="am-text-center">
					<a href="mine.html">
						<img src="img/icon_user_selected.png" width="20px" />
						<p style="color:#41A0F0">我的</p>
					</a>
				</li>

			</ul>
		</footer>
	</div>
	<div id="aaa"></div>
	<div id="ddd" style="text-align:center;padding:10px 0 25px 0;">
		<p style="margin:0;padding:25px 0;font-size:17px;">还未实名，马上去实名认证？</p>
		<div style="margin-bottom:7px;">
			<span class="qx_btn" style="margin-right:15px;">取消</span>
			<span class="bd_btn">去认证</span>
		</div>
	</div>
	<!--url跳转弹框-->
	<div id="url_aaa"></div>
	<div id="url_ddd">
		<div class="pop_main">
			<div class="img_left">
				<img src="img/dialog_logo.png" alt="logo" width="70" height="70">
			</div>
			<div class="text_right">
				<span>正在开发</span>
				<span>敬请期待</span>
			</div>
		</div>
	</div>
	<div class="uploadPictures">
		<div id="clipArea" style="display:none;"></div>
		<input type="file" id="file">
		<button id="clipBtn">上传</button>
		<div id="view" style="display:none;"></div>
		<div style="position:absolute;bottom:0;width:100%;">
			<button onclick="hide()" style="width:100%;">关闭</button>
		</div>
	</div>

	<div class="contact_pop">
		<p class="serive_time"></p>
		<p>
			<img src="img/wx_icon.png" class="wechat_logo" alt="微信" width="25" height="25">
			<a href="javascript:;" class="wechat"></a>
		</p>
		<p>
			<img src="img/kefu_icon.png" class="kefu_logo" alt="客服" width="25" height="25">
			<a href="javascript:;" class="kefu_phone"></a>
		</p>
	</div>

	<!-- 以上页面内容 开发时删除 -->

	<!--[if (gte IE 9)|!(IE)]><!-->
	<script src="assets/js/jquery.min.js"></script>
	<!--<![endif]-->
	<script src="assets/js/amazeui.min.js"></script>
	<script src="js/mobile/layer.js"></script>

	<script src="http://www.jq22.com/jquery/2.1.1/jquery.min.js"></script>
	<script src="js/iscroll-zoom.js"></script>
	<script src="js/hammer.js"></script>
	<script src="js/lrz.all.bundle.js"></script>
	<script src="js/jquery.photoClip.js"></script>
	<script src="js/mine.js"></script>
	<script src="js/outside_chain.js"></script>
	<script>
		var realname_confirm1 = sessionStorage["realname_confirm"];

		function cz_clic() {
			if (realname_confirm1 == 0) {
				$("#aaa").css("display", "block");
				$("#ddd").css("display", "block");
			} else {
				window.location.href = "recharge.html";
			}
		}

		// 提现
		function tx_clic() {
			if (realname_confirm1 == 0) {
				$("#aaa").css("display", "block");
				$("#ddd").css("display", "block");
			} else {
				window.location.href = "Cashwithdrawal.html";
			}
		}
		$(".qx_btn").on("click", function () {
			$("#aaa").css("display", "none");
			$("#ddd").css("display", "none");
		})
		$("#aaa").on("click", function () {
			$("#aaa").css("display", "none");
			$("#ddd").css("display", "none");
			$(".contact_pop").hide();
		})
		$(".bd_btn").on("click", function () {
			window.location.href = "real_name.html";
		})
		$('#contact').on('click', function () {
			$("#aaa").show();
			$(".contact_pop").show();
		})

		$(".tab_apply").on("click", "a", function (e) {
			if ($(this).attr("href") == "" || $(this).attr("href").indexOf(".html") == -1) {
				e.preventDefault();
				$("#url_aaa").css("display", "block");
				$("#url_ddd").css("display", "block");
			}
		})
		$("#url_aaa").on("click", function () {
			$("#url_aaa").css("display", "none");
			$("#url_ddd").css("display", "none");
		})
		$(function () {
			var token = sessionStorage.getItem("token");
			var url = "http://www.rice.com/app/api/h5_access";
			var d = {},
				c = {};
			var html = "";
			d.method = "get_user_msg";
			d.token = token;
			c.method = "System|get_serive_info";
			c.token = token;
			$.ajax({
				type: "post",
				url: url,
				data: d,
				dataType: "json",
				success: function (result) {
					if (result.status == "1") {
						var data = result.data;
						var realname_confirm = data.realname_confirm;
						var merchant_confirm = data.merchant_confirm;
						var img_confirm = data.img_confirm;
						var has_activity = data.has_activity;
						var act_title = data.act_title;
						var hide_confirm = data.hide_confirm;
						sessionStorage.setItem("realname_confirm", realname_confirm);
						sessionStorage.setItem("merchant_confirm", merchant_confirm);
						sessionStorage.setItem("img_confirm", img_confirm);
						sessionStorage.setItem("has_activity", has_activity);
						sessionStorage.setItem("act_title", act_title);
						sessionStorage.setItem("hide_confirm", hide_confirm);
						$("#img_head").attr("src", data.img_head);
					}
					if (result.status == "2") {
						alert(result.message);
						location.href = "login.html";
					}
				}
			});
			$.ajax({
				type: "post",
				url: url,
				data: c,
				dataType: "json",
				success: function (result) {
					// console.log(result);
					if (result.status == "1") {
						var data = result.data;
						$(".serive_time").html(data.serive_time);
						$(".wechat_logo").attr("src", data.list[0].logo);
						$(".wechat").html(data.list[0].account);
						$(".kefu_logo").attr("src", data.list[1].logo);
						$(".kefu_phone").html(data.list[1].account);
						$(".kefu_phone").attr("href", "tel:" + data.list[1].account);
					}
					if (result.status == "2") {
						alert(result.message);
						location.href = "login.html";
					}
				}
			})
		})
	</script>
</body>

</html>